package com.briup.day17;

import java.io.IOException;
import java.io.InputStream;

/**
 * 标准输入流
 * @author lining
 * @date 2024/1/29 15:09
 */
public class TestSystemin {
    public static void main(String[] args) throws IOException {
        //1.声明流(字节输入流类型)
        InputStream in = System.in;
        //2.读数据
        int data = in.read();
        System.out.println(data);
        //3.关闭流
        in.close();
    }
}
